import pytest,os,time
from ATEST.utils.email import log,send_email

if __name__ == '__main__':
    log()
    pytest.main([r'C:\Users\Kaka\PycharmProjects\PythonProject zui\ATEST\case\test_case.py','-s','--alluredir=results'])
    os.system(f'allure generate results -o allure-report --clean')
    send_email(['www.log','allure-report/index.html'])